package lab;

import java.awt.Color;
import javax.swing.*;

public class EastPanel extends JPanel {

    JLabel labelVaruKorg;
    JTextArea textAreaVaruKorg;
    JButton buttonTillKassa;

    public EastPanel() {
        labelVaruKorg = new JLabel("Kundvagnen: ");

        textAreaVaruKorg = new JTextArea();
        textAreaVaruKorg.setEditable(false);
        textAreaVaruKorg.setLineWrap(true);
        textAreaVaruKorg.setOpaque(false);
        textAreaVaruKorg.setBorder(BorderFactory.createLineBorder(Color.BLACK, 1));

        labelVaruKorg.setAlignmentX(0.5f);
        add(labelVaruKorg);
        add(textAreaVaruKorg);
    }
}
